package germmy.groovy

import hello.OrderService

import org.springframework.beans.factory.annotation.Autowired

class OrderRuleService implements RuleService{
 	
	@Autowired
	private OrderService orderService=null;
	
	public void doRule(String param) {
		//打印一下就代表收到参数了。后面会迭代优化
//		println arg0;
		System.out.println("order service's param is :"+param
			+"^_^order service's value is : "+orderService.findById(param));
	};
	
	
}
